<?php

$formOptions = array (
	'inputDefaults' => array (
		'div' => array('class' => 'form-group'),
		'class' => 'form-control input-lg'
	)
);

$formElements = array (
	'id' => '',
	'name' => '',
	'description' => ''
);

?>
<div class="misccontainer">
	
	<h2><?php echo __d('admin', 'Create Animal'); ?></h2>
	
	<?php echo $this->Form->create('Animal', $formOptions); ?>
	<?php
		foreach($formElements as $field => $options) {
			echo $this->Form->input($field, (array)$options) . "\n";
		}
		echo $this->Form->submit(__d('admin', 'Create'), array('class' => 'btn btn-primary'));
	?>
	<?php echo $this->Form->end(); ?>
	
</div>